package database;

public class MyGood extends NewTirDataBase{
	
	private String goodID;
	private String code;
	private String description;
	private String measure;
	private String unit;
	private String amount;
	private String parcel;
	private String shipmentID;
	
	

	
	private static final int GOOD_ID = 0;
	private static final int CODE = 1;
	private static final int DESCRIPTION = 2;
	private static final int MEASURE = 3;
	private static final int UNIT = 4;
	private static final int AMOUNT = 5;
	private static final int PARCEL = 6; 
	private static final int SHIPMENT_ID = 7;
	
	
	String[] data;
	
	
public MyGood() {
		
	}


public MyGood(String[] data) {
	
	
	super();
	this.goodID = data[GOOD_ID];
	this.code = data[CODE];
	this.description = data[DESCRIPTION];
	this.measure = data[MEASURE];
	this.unit = data[UNIT];
	this.amount = data[AMOUNT];
	this.parcel = data[PARCEL];
	this.shipmentID = data[SHIPMENT_ID];
	
	
}


public String getGoodID() {
	return goodID;
}


public void setGoodID(String goodID) {
	this.goodID = goodID;
}


public String getDescription() {
	return description;
}


public void setDescription(String description) {
	this.description = description;
}


public String getMeasure() {
	return measure;
}


public void setMeasure(String measure) {
	this.measure = measure;
}


public String getUnit() {
	return unit;
}


public void setUnit(String unit) {
	this.unit = unit;
}


public String getAmount() {
	return amount;
}


public void setAmount(String amount) {
	this.amount = amount;
}


public String getParcel() {
	return parcel;
}


public void setParcel(String parcel) {
	this.parcel = parcel;
}


public String getShipmentID() {
	return shipmentID;
}


public void setShipmentID(String shipmentID) {
	this.shipmentID = shipmentID;
}


public String getCode() {
	return code;
}


public void setCode(String code) {
	this.code = code;
}












}
